package com.huiminpay.transaction.api.service;

import com.huiminpay.transaction.api.dto.OrderResultDTO;
import com.huiminpay.transaction.api.dto.PayOrderDTO;
import com.huiminpay.transaction.api.dto.QrcodeDto;

/**
 * @ClassName : ITransactionService
 * @Author : 阿泽
 * @Date: 2021/8/11 21:37
 * @Description :
 */
public interface ITransactionService {
    /**
     * 生成二维码入口url地址
     * @param qrcodeDto
     * @return
     */
    String creatQrurl(QrcodeDto qrcodeDto);

    String createAlipayOrder(PayOrderDTO payOrderDTO) throws Exception;

    void updatePayOrderByTredeNo(OrderResultDTO orderResultDTO);

    OrderResultDTO selectPayOrder(String outTradeNo);
}
